<?php

CRequire('CObject');

class DKStorage extends CObject {
	function FindMatching($conditions) {
		CAbstract('DKStorage::FindMatching()', $this);
	}
	
	function Save(&$record) {
		CAbstract('DKStorage::Save()', $this);
	}
	
	function Delete(&$record) {
		CAbstract('DKStorage::Delete()', $this);
	}
	
	function SetDefaultStorage(&$s) {
		$GLOBALS['_DKDefaultStorage'] = &$s;
	}
	
	function &DefaultStorage() {
		return $GLOBALS['_DKDefaultStorage'];
	}
}

$GLOBALS['_DKDefaultStorage'] = null;

?>